package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.NationEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface NationDao {
	
	int addNation(NationEntity nation);
	
	int deleteNation(NationEntity nation);
	
	int updateNation(NationEntity nation);
	
	List<NationEntity> queryNationByDr(@Param("dr") Integer dr);
	
	NationEntity queryNationByNidAndDr(@Param("nid") Integer nid,@Param("dr") Integer dr);
}